package com.accenture.portal.dao.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import com.accenture.portal.dao.UserArticleMapper;
import com.accenture.portal.model.Article;
import com.accenture.portal.model.UserArticle;

@Repository
public class UserArticleMapperImpl implements UserArticleMapper {
	
	@Autowired
	UserArticleMapper userArticleMapper;
	
	@Override
	public List<Article> getUserArticle(UserArticle ua){
		return userArticleMapper.getUserArticle(ua);
	}
	
	@Override
	public void markAsRead(UserArticle ua){
		userArticleMapper.markAsRead(ua);
	}
	@Override
	public void markAsReadMulti(UserArticle userArticle){
			userArticleMapper.markAsReadMulti(userArticle);
	}
	
	
}
